package com.bana.fvs.app.mvp.contract;

import android.app.Activity;

import com.bana.fvs.app.module.info.entity.UpdatePwdBean;
import com.bana.fvs.app.mvp.model.BaseModel;
import com.bana.fvs.app.mvp.presenter.BasePresenter;
import com.bana.fvs.app.mvp.view.IBaseView;
import com.wei.commonlibrary.net.OkhttpRequest;

/**
 * Created by ${wei} on 2017/4/18.
 * 修改密码
 */


public interface ChangePwdContract {
    abstract class AbsChangeModel extends BaseModel {
        public abstract OkhttpRequest http_updatePwd(String token, String originalPwd, String newPwd);
    }

    abstract class AbsChangePresenter extends BasePresenter<AbsChangeModel, IChangeView> {
        public abstract void http_updatePwd(Activity activity, String originalPwd, String newPwd);
    }

    interface IChangeView extends IBaseView<UpdatePwdBean> {
    }
}
